essintro.htm

Essentials of C++: Section


Main Menu

Section I: Simple Types, Variables, Constants and Comments Section II: Operators Section III: Functions Section IV: The Scope and Duration of Identifiers
Section V: Program Files and Linkage Section VI: Selection Statements Section VII: Iterative Statements Section VIII: Arrays
Section IX :Declaring New Types Using typedef and enum Section X: Pointers and Dynamic Memory Section XI: Classes Section XII: Operator Overloading
Section XIII: Strings Section XIV: Input and Output Section XV: Templates

Students learning C++ need both:

  • a detailed and gentle description of the language (found here in The Story of C++) and

  • a reference guide to the language.
The "Essentials of C++" acts as a reference guide. In this document you will find summary descriptions of many of the elements of C++, especially those relevant to Computer Science I. Not all the elements of C++ are included and not all aspects of the included elements are described. However, much more is included than one needs to begin programming in C++.

The descriptions are based on the Borland C++ 5.0 compiler. Most of this information will be true of other compilers but differences do occur. In most cases these differences will not affect your program's operation. If, however, you are using a different compiler and suspect a problem, consult your manual.

This material is not meant to teach you how to program. Rather, it is meant as a quick reference guide to the basics of C++. You can, however, use it as an access point to the more detailed explanations found in " The Story of C++".

If you already know how to program in some other language, this material can quickly introduce you to C++'s way of doing things. The reader who wishes a more technical or complete description of C++ than is included here is encouraged to check out the C++ manuals for the version of C++ being used. In any case, you are encouraged to use all the materials you can get your hands on. Most of all you are encouraged to play, explore, and get your hands dirty. You are encouraged to use all the materials you can get your hands on. Most of all you are encouraged to play, explore, and get your hands dirty.

GO FOR IT!